package work.parabola.keyboardswitch.dao;

import org.apache.ibatis.annotations.Param;
import work.parabola.keyboardswitch.pojo.repository.ManufacturerDo;

import java.util.List;

public interface ManufacturerDoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ManufacturerDo record);

    int insertSelective(ManufacturerDo record);

    ManufacturerDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ManufacturerDo record);

    int updateByPrimaryKey(ManufacturerDo record);

    List<ManufacturerDo> selectByParams(@Param("searchWord") String searchWord);
}